#include "person.h"
#include <iostream>
#include <cstring>

using namespace std;

Person::Person() : count(0){
    cout << "Person()" << endl;
};

Person::~Person() {
    cout << "~Person()" << endl;
};

//void Person::incStrong() {
//    count++;
//}
//
//void Person::decStrong() {
//    count--;
//}
//
//int Person::getStrongCount() {
//    return count;
//}

Person::Person(char *name) {
    this->name = name;
    cout << "Person(char *name)" << endl;
};

Person::Person(char *name, int age) {
    this->name = name;
    this->age = age;
    cout << "Person(char *name, int age)" << endl;
};

void Person::printInfo(void) {
    cout << "name = " << name << ", age = " << age << endl;
}
